class Material
{
	Texture **tex;
	int cnttexs;
	int used;
public:
	Material();
	Material(const Material &mat);
	~Material();

	void BindTex(Texture *t,int layer);
	void BindEntity(Entity *ent);
	void UnBindEntity(Entity *ent);

	void EqMaterial(Material *mat);
};